

export const crudOptions = {


  options: {

  },
  formOptions:{
    size: 'small',
    defaultSpan: 8,
    labelWidth: '35%'
  },
  //rowHandle: null,//隐藏操作列
  rowHandle:{
    align: 'center',
    view:{
      show: false,
    },
    edit:{
      show: false,
    },
    remove:{
      show: false,
    },
    custom: [
      {
        text: ' 自定义',
        type: 'warning',
        size: 'small',
        emit: 'customHandleBtn',
        icon: 'el-icon-s-flag'
      }
    ],
  },
  columns: [
    {
      title: '归属机构',
      key: 'org',
      type: 'select',
      align: 'center',
      dict: {
        data:[
          {label: 'xx公司',value: '1'}
        ]
      },
      form:{
        rules: [{ required: true}],
      },
    },
    {
      title: '归属业务员',
      key: 'f2',
      type: 'select',

      align: 'center',
      form:{
        rules: [{ required: true}],
      }
    },
    {
      title: '归属区域',
      key: 'f3',
      align: 'center',
      form:{
        rules: [{ required: true}],
        itemProps:{
          // labelWidth: '11.25%'
        },
        component:{
          // span: 24
        }
      }
    },
    {
      title: '业务来源',
      key: 'f4',
      type: 'select',
      align: 'center',
      form:{
        rules: [{ required: true}],
      }
    },

    {
      title: '业务大类',
      key: 'f5',
      type: 'checkbox',
      align: 'center',
      dict: { url: '/dicts/OpenStatusEnum' },

      form:{
        rules: [{ required: true}],
      }
    },

    {
      title: '政策/商业标志',
      key: 'f6',
      type: 'select',
      align: 'center',
      dict: { url: '/dicts/OpenStatusEnum' },

      form:{
        rules: [{ required: true}],
      }
    },
    {
      title: '是否承保公示',
      key: 'f6',
      type: 'radio',
      align: 'center',
      dict: { url: '/dicts/ft' },
      form:{
        rules: [{ required: true}],
      }
    },
    {
      title: '是否承保公示',
      key: 'f7',
      type: 'radio',
      align: 'center',
      dict: { url: '/dicts/ft' },
      form:{
        rules: [{ required: true}],
      }
    },
  ]
}
